<template>
  <van-tabbar v-model="activeItem"
              active-color="#ff0000">
    <van-tabbar-item icon="home-o">电影</van-tabbar-item>
    <van-tabbar-item icon="search">影院</van-tabbar-item>
    <van-tabbar-item icon="home-o">我的</van-tabbar-item>
  </van-tabbar>
</template>

<script>
export default {
  props: {
    active: Number
  },
  data () {
    return {
      activeItem: this.active
    }
  }
}
</script>

<style>
</style>
